//
//  BGFoundPasswordController.swift
//  Baga
//
//  Created by 飞王 on 16/12/30.
//  Copyright © 2016年 飞王. All rights reserved.
//

import UIKit

class BGFoundPasswordController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    private func setupView() {
        view.addSubview(phoneTextFeild);
        view.addSubview(verificationTextFeild);
        view.addSubview(passwordTextFeild);
        view.addSubview(submitButton);
    }
    
    
    //MARK - lazyLoad
    private lazy var phoneTextFeild: BGUserInforTextField = {
        let phoneTextFeild = BGUserInforTextField(placeholderText: "手机号码", leftImageName: "Icon-76");
        return phoneTextFeild;
        
    }()
    
    private lazy var verificationTextFeild: BGUserInforTextField = {
        let verificationTextFeild = BGUserInforTextField(placeholderText: "验证码", leftImageName: "Icon-76");
        return verificationTextFeild;
        
    }()
    
    private lazy var passwordTextFeild: BGUserInforTextField = {
        let passwordTextFeild = BGUserInforTextField(placeholderText: "请输入密码", leftImageName: "Icon-76");
        return passwordTextFeild;
        
    }()
    
    
    private lazy var submitButton: UIButton = {
        let submitButton = UIButton();
        submitButton.setTitle("提交", for: .normal);
        submitButton.tintColor = UIColor.white;
        return submitButton;
    }()
    

}
